﻿using Microsoft.EntityFrameworkCore;
using RMSModel.Models;
using System;

namespace RMSModel
{
    public class RMSDB:DbContext
    {
        public RMSDB(DbContextOptions<RMSDB> options)
          : base(options)
        { }

        public virtual DbSet<menu> menus { get; set; }
        public virtual DbSet<role> roles { get; set; }
        public virtual DbSet<user> users { get; set; }
        public virtual DbSet<rolemenu> rolemenu { get; set; }
        public virtual DbSet<userrole> userrole { get; set; }

        public virtual DbSet<homeInfo> home { get; set; }

        public virtual DbSet<logoInfo> logo { get; set; }

        public virtual DbSet<gooddetailshtml> gooddetailshtml { get; set; }
        public virtual DbSet<goods> goods { get; set; }
        public virtual DbSet<goodsimagelist> goodsimagelist { get; set; }

        public virtual DbSet<goodstype> goodstype { get; set; }

        public virtual DbSet<shopuser> shopuser { get; set; }

        public virtual DbSet<shopusertoken> shopusertoken { get; set; }

        public virtual DbSet<order> orders { get; set; }
        public virtual DbSet<ordergoods> ordergoods { get; set; }
        public virtual DbSet<shopaddress> shopaddresses { get; set; }

        public virtual DbSet<sys_region> sys_region { get; set; }

        public virtual DbSet<nideshop_shipping> nideshop_shipping { get; set; }

    }
}
